package com.changgou.pay.feign;

import com.changgou.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author liyipeng
 * @date 2021-07-03 16:07
 */
@FeignClient(name = "pay",path = "/weixin/pay")
public interface WeixinPayFeign {

    @GetMapping("/close")
    public Result closePay(@RequestParam(name = "orderId") Long id);

}
